﻿/****************************** Module Header ******************************\
 * Module Name:  tUserPayment.cs
 * Module Version:  1.0.0 (2013-01-25)
 * Copyright (c) AnyEB.Com (14507247@qq.com)
 * 
 * This source is subject to the GPL License.
 * See http://www.gnu.org/licenses/gpl.html.
 * All other rights reserved.
 * 
 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 
 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED 
 * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
\***************************************************************************/

using System;

namespace UCL.Data.ORM.UMD
{
	/// <summary>
    /// 用户-用户管理-用户支付方式 数据实体类
	/// </summary>
    [DBTable(Common = "用户-用户管理-用户支付方式")]
	public class tUserPayment
	{
		/// <summary>
		/// Guid编号
		/// </summary>
		public Guid ID { get { return _ID ?? default(Guid); } set { _ID = value; } }

        [DBColumn(Alias = "Guid编号", IsKey = true, DefaultValue = "newid()")]
		private Guid? _ID;

		/// <summary>
        /// 开户银行名称
		/// </summary>
		public string BankName { get { return _BankName; } set { _BankName = value; } }

        [DBColumn(Alias = "开户银行名称", CanBeNull = true, Length = "32")]
		private string _BankName;

		/// <summary>
        /// 银行卡号
		/// </summary>
		public string BankCardID { get { return _BankCardID; } set { _BankCardID = value; } }

        [DBColumn(Alias = "银行卡号", CanBeNull = true, Length = "32")]
		private string _BankCardID;

		/// <summary>
        /// 持卡人名字
		/// </summary>
		public string BankCardHolder { get { return _BankCardHolder; } set { _BankCardHolder = value; } }

        [DBColumn(Alias = "持卡人名字", CanBeNull = true, Length = "32")]
        private string _BankCardHolder;

        /// <summary>
        /// 用户帐号
        /// </summary>
        public string UserName { get { return _UserName; } set { _UserName = value; } }

        [DBColumn(Alias = "用户帐号", CanBeNull = true, Length = "32")]
        private string _UserName;

		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreatedTime { get { return _CreatedTime ?? default(DateTime); } set { _CreatedTime = value; } }

		[DBColumn(Alias="创建时间", DefaultValue="getdate()")]
		private DateTime? _CreatedTime;

		/// <summary>
		/// 最后更新时间
		/// </summary>
		public DateTime ModifiedTime { get { return _ModifiedTime ?? default(DateTime); } set { _ModifiedTime = value; } }

		[DBColumn(Alias="最后更新时间", CanBeNull=true)]
		private DateTime? _ModifiedTime;

		/// <summary>
		/// 是否删除
		/// </summary>
		public bool IsDeleted { get { return _IsDeleted ?? default(bool); } set { _IsDeleted = value; } }

		[DBColumn(Alias="是否删除", DefaultValue="0")]
		private bool? _IsDeleted;

		/// <summary>
		/// 网站标签
		/// </summary>
		public string SiteTag { get { return _SiteTag; } set { _SiteTag = value; } }

		[DBColumn(Alias="网站标签", CanBeNull=true, Length="16")]
		private string _SiteTag;

	}
}
